import express from 'express';
import fs from 'fs';
import path from 'path';
// 导入路由处理函数
import goodsHandlerfn from '../../routerHandler/goodsHandlerfn/index.js';
const router=express.Router()
router.post('/goods/getRank',goodsHandlerfn.getGoods)
router.post('/goods/guessLike',goodsHandlerfn.getGuessLike)
router.post('/goods/getFloor',goodsHandlerfn.getFloor)
router.get('/product/getBaseCategoryList',goodsHandlerfn.getBaseCategoryList)
router.post('/product/list',goodsHandlerfn.getGoodsList)
router.get('/product/item/:id',goodsHandlerfn.getGoodsDetail)
export default router